/*
 * Create By: Software Automation Generator
 * Create Time : 2009-2-24 12:00
 * 
 */
namespace Jumpton.SFA.Server.Entity
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Jumpton.Persistent;
    using System.Data;
    using System.Runtime.Serialization;
    
    
    [System.SerializableAttribute()]
    [Map("EventLogTypes")]
    public class EventLogTypes : ObjectRow {
        
        public EventLogTypes() {
        }
        
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="dataRow">DataTable 中的一行数据</param>
        /// <param name="objectTable">存储当前对象的数据表格</param>
        public EventLogTypes(System.Data.DataRow dataRow, ObjectTable parent) : 
                base(dataRow, parent) {
        }
        
        /// <summary>
        /// 供反序列化使用的构造函数
        /// </summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected EventLogTypes(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                base(info, context) {
        }
        
        [Key("LogTypeKey")]
        public string LogTypeKey {
            get {
                return (System.String)GetValue("LogTypeKey");
            }
            set {
                SetValue("LogTypeKey", value);
            }
        }
        
        [Field("LogTypeFriendlyName")]
        public string LogTypeFriendlyName {
            get {
                return (System.String)GetValue("LogTypeFriendlyName");
            }
            set {
                SetValue("LogTypeFriendlyName", value);
            }
        }
        
        [Field("LogTypeDescription")]
        public string LogTypeDescription {
            get {
                return (System.String)GetValue("LogTypeDescription");
            }
            set {
                SetValue("LogTypeDescription", value);
            }
        }
        
        [Field("LogTypeOwner")]
        public string LogTypeOwner {
            get {
                return (System.String)GetValue("LogTypeOwner");
            }
            set {
                SetValue("LogTypeOwner", value);
            }
        }
        
        [Field("LogTypeCSSClass")]
        public string LogTypeCSSClass {
            get {
                return (System.String)GetValue("LogTypeCSSClass");
            }
            set {
                SetValue("LogTypeCSSClass", value);
            }
        }
    }
}
